<form class="layui-form layui-form-pane" lay-filter="FormBaseConstMsgEdit" action="/base/const/msg/edit">
    <input type="hidden" id="id" name="id" th:value="${entity.id}">
    <div class="layui-row p-l-sm m-b-xl">
        <div class="layui-row">
            <div th:replace="common/plugin :: pa-form-select('MsgType','信息类型(*)','msgType','layui-col-md12','required',${entity.msgType},'请选择信息类型')"></div>
            <div th:replace="common/plugin :: pa-form-input('text','信息编码(*)','msgCode','layui-col-md12',8,'required',${entity.msgCode})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','信息描述(*)','msgDesc','layui-col-md12',64,'required',${entity.msgDesc})"></div>
        </div>
    </div>
</form>
<script>
    layui.use('form', function () {
        let form = layui.form;
        form.render();
    });
</script>